﻿namespace dPet.Infrastructure.Bootstrapper
{
	using dPet.Infrastructure.Logging;
	using dPet.Infrastructure.Logging.Implementation;
	using Hangerd.Bootstrapper;
	using Hangerd.Extensions;
	using Microsoft.Practices.Unity;

	public class RegisterServiceTask : RegisterServiceBootstrapperTask
	{
		public RegisterServiceTask(IUnityContainer container) : base(container) { }

		public override void Execute()
		{
			_container.RegisterTypeAsSingleton<ILoginLoggingService, LoginLoggingService>();
			_container.RegisterTypeAsSingleton<IOperatingLoggingService, OperatingLoggingService>();
		}
	}
}
